<?php
define("IN_refrigeratory", true);

header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-cache, must-revalidate");  
header("Pragma:no-cache");

include_once("common.php");

$uid = $_SESSION["uid"];
$uname = $_SESSION["uname"];
$role = $_SESSION["role"];
if(!$uid){
	header("Location:index.php");exit;
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>飞信信息管理系统</title>

    <link rel="stylesheet" type="text/css" href="ext/resources/css/ext-all.css" />
    <link rel="stylesheet" type="text/css" href="css/main.css">
    <link rel="stylesheet" type="text/css" href="css/Ext.ux.grid.RowActions.css">
    <link rel="stylesheet" type="text/css" href="css/ext-patch.css">
    <link rel="stylesheet" type="text/css" href="css/ext-icons.css?ver=20101212">
</head>
<body>
    <div id="loading-mask" style=""></div>
    <div id="loading">
        <div class="loading-indicator"><img src="images/extjs/extanim32.gif" width="32" height="32" style="margin-right:8px;float:left;vertical-align:top;"/>药品冷库管理系统<br />
		<span id="loading-msg">Loading styles and images...</span></div>
    </div>    
<script type="text/javascript">document.getElementById('loading-msg').innerHTML = 'Loading Core API...';</script>
    <!--<script type="text/javascript" src="ext/adapter/ext/ext-base.js"></script>-->
	<script type='text/javascript' src='js/extflot/jquery.js'></script> 
	<script type='text/javascript' src='ext/adapter/jquery/ext-jquery-adapter.js'></script> 
    <script type="text/javascript" src="ext/ext-all-debug.js?ver=20101212"></script>
	<script type='text/javascript' src='ext/source/locale/ext-lang-zh_CN.js'></script> 
	<script type='text/javascript' src='js/extflot/jquery.flot.trunk.pie.js'></script> 		
<script type="text/javascript">document.getElementById('loading-msg').innerHTML = 'Loading UI Components...';</script>
	<!-- GMaps API Key that works for localhost -->
	<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAJDLv3q8BFBry
		Rorw-851MRT2yXp_ZAY8_ufC3CFXhHIE1NvwkxTyuslsNlFqyphYqv1PCUD8WrZA2A" type="text/javascript"></script>
    <script src="js/extensions/Ext.ux.GMapPanel.js"></script>

    <script type="text/javascript" src="js/extensions/Ext.ux.clone.js?ver=20101212"></script>
	<script type="text/javascript" src="js/extensions/Ext.grid.GridView.js?ver=20101212"></script>
	<script type="text/javascript" src="js/extensions/Ext.data.Store.prototype.applySort.js?ver=20101212"></script>
    <script type="text/javascript" src="js/extensions/Ext.ux.Portal.js?ver=20101212"></script>
    <script type="text/javascript" src="js/extensions/Ext.ux.Portlet.js?ver=20101212"></script>
    <script type="text/javascript" src="js/extensions/Ext.ux.PortalColumn.js?ver=20101212"></script>
    <script type="text/javascript" src="js/extensions/Ext.grid.CheckColumn.js?ver=20101212"></script>
    <script type="text/javascript" src="js/extensions/Ext.grid.GridPanel.js?ver=20101212"></script>
	<script type="text/javascript" src="js/extensions/Ext.grid.GridView.js?ver=20101212"></script>
	<script type="text/javascript" src="js/extensions/Ext.ux.grid.GridView.js?ver=20101212"></script>
	<script type="text/javascript" src="js/extensions/Ext.ux.grid.GridPanel.js?ver=20101212"></script>
	<script type="text/javascript" src="js/extensions/Ext.ux.grid.RowActions.js?ver=20101212"></script>
	<script type="text/javascript" src="js/extensions/Ext.ux.form.LovCombo.js?ver=20101212"></script>
	<script type="text/javascript" src="js/extensions/plugin/Ext.ux.plugins.textareaLength.js?ver=20101212"></script>
	
	<script type='text/javascript' src='js/extensions/menu/EditableItem.js'></script>
	<script type='text/javascript' src='js/extensions/menu/RangeMenu.js'></script>
	
	<link rel='stylesheet' type='text/css' href='js/extflot/Flot.css' /> 
	<script language="javascript" type="text/javascript" src="js/extflot/GetText.js"></script> 
    <script language="javascript" type="text/javascript" src="js/extflot/Flot.ja.js"></script> 
    <script language="javascript" type="text/javascript" src="js/extflot/Flot.js"></script> 
		
	<link rel="stylesheet" type="text/css" href="css/Ext.ux.form.LovCombo.css">
    <script type="text/javascript">document.getElementById('loading-msg').innerHTML = 'Initializing...';</script>
	<script type="text/javascript">Ext.BLANK_IMAGE_URL = 'images/extjs/s.gif';</script>
    <script type="text/javascript" src="js/refrigeratory.js?ver=20101212"></script>
	<?php echo "<script> refrigeratory.NAME = '$uname' ;</script> " ?>
    <script type="text/javascript" src="js/refrigeratory.pn_portal.js?ver=20101212"></script>
    <script type="text/javascript" src="js/refrigeratory.pn_east.js?ver=20101212"></script>
    <script type="text/javascript" src="js/refrigeratory.pn_south.js?ver=20101212"></script>
    <script type="text/javascript" src="js/refrigeratory.pn_west.js?ver=20101212"></script>
    <script type="text/javascript" src="js/refrigeratory.pn_north.js?ver=20101212"></script>
    <script type="text/javascript" src="js/refrigeratory.pn_center.js?ver=20101212"></script>
	<script type="text/javascript" src="js/refrigeratory.pn_shipment.js?ver=20101212"></script>
	<script type="text/javascript" src="js/refrigeratory.pn_storage.js?ver=20101212"></script>
	<script type="text/javascript" src="js/refrigeratory.pn_transport.js?ver=20101212"></script>
	<script type="text/javascript" src="js/refrigeratory.pn_medicine.js?ver=20101212"></script>	
    <script type="text/javascript" src="js/main.js?ver=20101212"></script>
	
    <div style="display:none;">
        <div id="header"><h1>冷库管理系统</h1></div>
    </div>
</body>
</html>